home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-06-10 | 2.0 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Jun 10 12:25:06 1997, modified Tue Jun 10 12:25:06 1997, creator 'CWIE', type ASCII, 1501 bytes "GadgetsData.h" , at 0x65d 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 61 64 67 65 74 | 73 44 61 74 61 2e 68 00 |..Gadget|sData.h.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 05 dd 00 | 00 01 1e af c3 30 62 af |........|.....0b.|
|00000060| c3 30 62 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.0b.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9a 19 00 00 |........|........|
|00000080| 2f 2a 20 47 61 64 67 65 | 74 73 44 61 74 61 2e 68 |/* Gadge|tsData.h|
|00000090| 20 2d 2d 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2d | -- appl|ication-|
|000000a0| 73 70 65 63 69 66 69 63 | 20 64 61 74 61 20 6d 61 |specific| data ma|
|000000b0| 6e 61 67 65 6d 65 6e 74 | 20 2a 2f 0d 2f 2a 20 43 |nagement| */./* C|
|000000c0| 72 65 61 74 65 64 20 36 | 2f 31 30 2f 39 37 20 31 |reated 6|/10/97 1|
|000000d0| 32 3a 32 34 20 50 4d 20 | 62 79 20 41 70 70 4d 61 |2:24 PM |by AppMa|
|000000e0| 6b 65 72 20 2a 2f 0d 0d | 2f 2a 20 44 65 66 69 6e |ker */..|/* Defin|
|000000f0| 65 20 74 68 65 20 63 72 | 65 61 74 6f 72 20 74 79 |e the cr|eator ty|
|00000100| 70 65 20 61 6e 64 20 66 | 69 6c 65 20 74 79 70 65 |pe and f|ile type|
|00000110| 20 66 6f 72 20 79 6f 75 | 72 20 61 70 70 6c 69 63 | for you|r applic|
|00000120| 61 74 69 6f 6e 2e 20 2a | 2f 0d 0d 23 64 65 66 69 |ation. *|/..#defi|
|00000130| 6e 65 20 6b 53 69 67 6e | 61 74 75 72 65 09 09 27 |ne kSign|ature..'|
|00000140| 58 58 58 58 27 0d 23 64 | 65 66 69 6e 65 20 6b 46 |XXXX'.#d|efine kF|
|00000150| 69 6c 65 54 79 70 65 09 | 09 27 54 45 58 54 27 0d |ileType.|.'TEXT'.|
|00000160| 0d 2f 2a 20 44 65 66 69 | 6e 65 20 61 6e 79 20 61 |./* Defi|ne any a|
|00000170| 70 70 72 6f 70 72 69 61 | 74 65 20 64 61 74 61 20 |ppropria|te data |
|00000180| 73 74 72 75 63 74 75 72 | 65 73 20 66 6f 72 20 79 |structur|es for y|
|00000190| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |our appl|ication.|
|000001a0| 20 2a 2f 0d 2f 2a 20 41 | 64 64 20 61 6e 79 20 6e | */./* A|dd any n|
|000001b0| 65 65 64 65 64 20 66 69 | 65 6c 64 73 20 74 6f 20 |eeded fi|elds to |
|000001c0| 47 6c 6f 62 61 6c 27 73 | 20 57 69 6e 49 6e 66 6f |Global's| WinInfo|
|000001d0| 52 65 63 20 73 6f 20 74 | 68 61 74 20 65 61 63 68 |Rec so t|hat each|
|000001e0| 20 77 69 6e 64 6f 77 20 | 2a 2f 0d 2f 2a 20 63 61 | window |*/./* ca|
|000001f0| 6e 20 68 61 76 65 20 69 | 74 73 20 6f 77 6e 20 73 |n have i|ts own s|
|00000200| 65 74 20 6f 66 20 64 61 | 74 61 2e 20 59 6f 75 72 |et of da|ta. Your|
|00000210| 20 66 75 6e 63 74 69 6f | 6e 73 20 77 69 6c 6c 20 | functio|ns will |
|00000220| 75 73 65 20 22 63 75 72 | 2d 3e 22 20 2a 2f 0d 2f |use "cur|->" */./|
|00000230| 2a 20 74 6f 20 61 63 63 | 65 73 73 20 74 68 65 20 |* to acc|ess the |
|00000240| 64 61 74 61 2e 20 48 65 | 72 65 2c 20 69 6e 20 74 |data. He|re, in t|
|00000250| 68 65 20 69 6e 74 65 72 | 66 61 63 65 20 73 65 63 |he inter|face sec|
|00000260| 74 69 6f 6e 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |tion, yo|u should|
|00000270| 20 2a 2f 0d 2f 2a 20 64 | 65 66 69 6e 65 20 6f 6e | */./* d|efine on|
|00000280| 6c 79 20 74 68 6f 73 65 | 20 74 79 70 65 73 20 77 |ly those| types w|
|00000290| 68 69 63 68 20 61 72 65 | 20 69 6e 74 65 6e 64 65 |hich are| intende|
|000002a0| 64 20 74 6f 20 62 65 20 | 76 69 73 69 62 6c 65 20 |d to be |visible |
|000002b0| 74 6f 20 2a 2f 0d 2f 2a | 20 6d 6f 64 75 6c 65 73 |to */./*| modules|
|000002c0| 20 6f 75 74 73 69 64 65 | 20 74 68 69 73 20 6f 6e | outside| this on|
|000002d0| 65 2e 20 4c 61 74 65 72 | 2c 20 69 6e 20 74 68 65 |e. Later|, in the|
|000002e0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000002f0| 73 65 63 74 69 6f 6e 2c | 20 2a 2f 0d 2f 2a 20 79 |section,| */./* y|
|00000300| 6f 75 20 63 61 6e 20 64 | 65 66 69 6e 65 20 61 64 |ou can d|efine ad|
|00000310| 64 69 74 69 6f 6e 61 6c | 20 22 70 72 69 76 61 74 |ditional| "privat|
|00000320| 65 22 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |e" data |structur|
|00000330| 65 73 2e 20 2a 2f 0d 0d | 74 79 70 65 64 65 66 20 |es. */..|typedef |
|00000340| 73 74 72 75 63 74 20 7b | 0d 09 09 73 68 6f 72 74 |struct {|...short|
|00000350| 09 09 64 61 74 61 3b 0d | 09 7d 20 59 6f 75 72 53 |..data;.|.} YourS|
|00000360| 74 75 66 66 3b 0d 0d 2f | 2a 2d 2d 2d 2d 2d 2d 2d |tuff;../|*-------|
|00000370| 2d 2d 2d 2a 2f 0d 2f 2a | 20 4f 70 65 6e 2c 20 43 |---*/./*| Open, C|
|00000380| 6c 6f 73 65 2c 20 52 65 | 61 64 2c 20 57 72 69 74 |lose, Re|ad, Writ|
|00000390| 65 2c 20 49 6e 69 74 2c | 20 61 6e 64 20 44 69 73 |e, Init,| and Dis|
|000003a0| 70 6f 73 65 20 61 72 65 | 20 63 61 6c 6c 65 64 20 |pose are| called |
|000003b0| 62 79 20 74 68 65 20 2a | 2f 0d 2f 2a 20 41 70 70 |by the *|/./* App|
|000003c0| 4d 61 6b 65 72 2d 67 65 | 6e 65 72 61 74 65 64 20 |Maker-ge|nerated |
|000003d0| 46 69 6c 65 4d 20 6d 6f | 64 75 6c 65 20 74 6f 20 |FileM mo|dule to |
|000003e0| 64 6f 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2d 73 |do appli|cation-s|
|000003f0| 70 65 63 69 66 69 63 20 | 66 69 6c 65 20 61 63 63 |pecific |file acc|
|00000400| 65 73 73 69 6e 67 2e 20 | 2a 2f 0d 0d 42 6f 6f 6c |essing. |*/..Bool|
|00000410| 65 61 6e 09 4f 70 65 6e | 41 70 70 46 69 6c 65 09 |ean.Open|AppFile.|
|00000420| 09 28 46 53 53 70 65 63 | 2a 09 66 69 6c 65 53 70 |.(FSSpec|*.fileSp|
|00000430| 65 63 2c 0d 09 09 09 09 | 09 09 20 73 68 6f 72 74 |ec,.....|.. short|
|00000440| 09 09 2a 66 52 65 66 4e | 75 6d 29 3b 0d 76 6f 69 |..*fRefN|um);.voi|
|00000450| 64 09 43 6c 6f 73 65 41 | 70 70 46 69 6c 65 09 28 |d.CloseA|ppFile.(|
|00000460| 73 68 6f 72 74 09 09 66 | 52 65 66 4e 75 6d 29 3b |short..f|RefNum);|
|00000470| 0d 76 6f 69 64 09 52 65 | 61 64 41 70 70 46 69 6c |.void.Re|adAppFil|
|00000480| 65 09 09 28 73 68 6f 72 | 74 09 09 66 52 65 66 4e |e..(shor|t..fRefN|
|00000490| 75 6d 29 3b 0d 76 6f 69 | 64 09 57 72 69 74 65 41 |um);.voi|d.WriteA|
|000004a0| 70 70 46 69 6c 65 09 28 | 73 68 6f 72 74 09 09 66 |ppFile.(|short..f|
|000004b0| 52 65 66 4e 75 6d 29 3b | 0d 76 6f 69 64 09 49 6e |RefNum);|.void.In|
|000004c0| 69 74 41 70 70 44 61 74 | 61 09 09 28 76 6f 69 64 |itAppDat|a..(void|
|000004d0| 29 3b 0d 76 6f 69 64 09 | 44 69 73 70 6f 73 65 41 |);.void.|DisposeA|
|000004e0| 70 70 44 61 74 61 09 28 | 76 6f 69 64 29 3b 0d 0d |ppData.(|void);..|
|000004f0| 2f 2a 20 54 68 65 73 65 | 20 66 75 6e 63 74 69 6f |/* These| functio|
|00000500| 6e 73 20 61 72 65 20 66 | 6f 72 20 61 63 63 65 73 |ns are f|or acces|
|00000510| 73 69 6e 67 20 79 6f 75 | 72 20 64 61 74 61 20 61 |sing you|r data a|
|00000520| 73 20 6c 6f 67 69 63 61 | 6c 20 63 68 75 6e 6b 73 |s logica|l chunks|
|00000530| 2e 20 2a 2f 0d 2f 2a 20 | 54 68 65 79 20 61 72 65 |. */./* |They are|
|00000540| 20 6a 75 73 74 20 6d 6f | 64 65 6c 73 20 66 6f 72 | just mo|dels for|
|00000550| 20 79 6f 75 72 20 6f 77 | 6e 20 61 63 63 65 73 73 | your ow|n access|
|00000560| 6f 72 20 66 75 6e 63 74 | 69 6f 6e 73 3b 20 2a 2f |or funct|ions; */|
|00000570| 0d 2f 2a 20 74 68 65 79 | 20 61 72 65 6e 27 74 20 |./* they| aren't |
|00000580| 63 61 6c 6c 65 64 20 62 | 79 20 61 6e 79 20 41 70 |called b|y any Ap|
|00000590| 70 4d 61 6b 65 72 2d 67 | 65 6e 65 72 61 74 65 64 |pMaker-g|enerated|
|000005a0| 20 63 6f 64 65 2e 20 2a | 2f 0d 2f 2a 20 52 65 70 | code. *|/./* Rep|
|000005b0| 6c 61 63 65 20 74 68 65 | 6d 20 77 69 74 68 20 77 |lace the|m with w|
|000005c0| 68 61 74 65 76 65 72 20 | 69 73 20 73 75 69 74 61 |hatever |is suita|
|000005d0| 62 6c 65 20 66 6f 72 20 | 79 6f 75 72 20 61 70 70 |ble for |your app|
|000005e0| 6c 69 63 61 74 69 6f 6e | 2e 20 2a 2f 0d 0d 76 6f |lication|. */..vo|
|000005f0| 69 64 09 41 64 64 53 74 | 75 66 66 09 09 28 59 6f |id.AddSt|uff..(Yo|
|00000600| 75 72 53 74 75 66 66 09 | 09 2a 73 74 75 66 66 29 |urStuff.|.*stuff)|
|00000610| 3b 0d 76 6f 69 64 09 44 | 65 6c 65 74 65 53 74 75 |;.void.D|eleteStu|
|00000620| 66 66 09 09 28 76 6f 69 | 64 29 3b 0d 42 6f 6f 6c |ff..(voi|d);.Bool|
|00000630| 65 61 6e 09 47 65 74 53 | 74 75 66 66 09 09 28 76 |ean.GetS|tuff..(v|
|00000640| 6f 69 64 29 3b 0d 76 6f | 69 64 09 50 75 74 53 74 |oid);.vo|id.PutSt|
|00000650| 75 66 66 09 09 28 76 6f | 69 64 29 3b 0d 00 00 00 |uff..(vo|id);....|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 07 02 01 fc 80 00 30 40 | 00 09 07 02 00 04 80 00 |......0@|........|
|000006a0| 30 40 00 09 07 02 00 02 | 80 00 30 40 00 09 07 02 |0@......|..0@....|
|000006b0| 0d 47 61 64 67 65 74 73 | 44 61 74 61 2e 68 02 00 |.Gadgets|Data.h..|
|000006c0| 00 00 54 45 58 54 43 57 | 49 45 00 00 c7 e7 c1 36 |..TEXTCW|IE.....6|
|000006d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 c7 e7 c1 36 |..TEXTCW|IE.....6|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 af c2 f8 22 00 00 | 05 dd 00 00 01 1e 00 1b |....."..|........|
|00000700| 00 0c 00 24 00 f7 00 50 | 00 01 01 00 00 06 00 01 |...$...P|........|
|00000710| 0c 80 00 00 00 00 04 00 | fc 01 06 00 00 00 12 00 |........|........|
|00000720| 00 00 00 00 00 00 0c 00 | 24 00 f7 00 50 07 02 00 |........|$...P...|
|00000730| fb 00 00 00 10 00 00 00 | 00 00 00 00 00 00 00 dd |........|........|
|00000740| dd dd dd dd dd 00 00 00 | 1c 00 4b 00 4f 00 eb 01 |........|..K.O...|
|00000750| 9f 00 05 00 00 00 00 00 | 00 00 00 01 04 05 41 62 |........|......Ab|
|00000760| 6f 75 74 00 00 00 00 00 | b2 00 01 00 00 00 00 00 |out.....|........|
|00000770| 7c 00 84 00 90 00 cc 04 | 02 4f 4b 00 00 00 00 00 ||.......|.OK.....|
|00000780| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+